package com.le.service.Impl;

import com.le.dao.CustomerDao;
import com.le.entity.DO.CustomerDO;
import com.le.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Map;

/**
 * @author liangyongle
 * @date 2018/8/14 0014
 */
@Service
public class UserServiceImpl implements UserService {

    @Resource
    private CustomerDao customerDao;

    @Override
    public Map<String,Object> getCustomer() {
        Integer id = 1;
        Map<String,Object> customerDO = customerDao.selectByID();
        return customerDO;

    }
}
